<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
  <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener>
  <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>
		/WEB-INF/database-context.xml, 
       	/WEB-INF/beans-context.xml, 
        /WEB-INF/server-config.xml, 
       	/WEB-INF/scheduled-tasks-context.xml, 
	</param-value>
  </context-param>
  <listener>
    <listener-class>com.edu.hre.common.utils.BeanFinder</listener-class>
  </listener>
  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
      <param-name>debug</param-name>
      <param-value>2</param-value>
    </init-param>
    <init-param>
      <param-name>detail</param-name>
      <param-value>2</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>
  <session-config>
    <session-timeout>60</session-timeout>
  </session-config>
  <listener>
    <listener-class>com.edu.hre.common.utils.SessionListener</listener-class>
  </listener>
  <welcome-file-list>
    <welcome-file>/login.jsp</welcome-file>
  </welcome-file-list>
  <error-page>
    <error-code>400</error-code>
    <location>/error/400.jsp</location>
  </error-page>
  <error-page>
    <error-code>404</error-code>
    <location>/error/404.jsp</location>
  </error-page>
  <servlet>
    <description></description>
    <display-name>TestServlet</display-name>
    <servlet-name>TestServlet</servlet-name>
    <servlet-class>com.edu.hre.common.utils.TestServlet</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>TestServlet</servlet-name>
    <url-pattern>/TestServlet</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>EmployeePicture</display-name>
    <servlet-name>EmployeePicture</servlet-name>
    <servlet-class>com.edu.hre.common.writefiles.EmployeePicture</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>EmployeePicture</servlet-name>
    <url-pattern>/empPicture</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>EmployeeAjax</display-name>
    <servlet-name>EmployeeAjax</servlet-name>
    <servlet-class>com.edu.hre.common.ajax.EmployeeAjax</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>EmployeeAjax</servlet-name>
    <url-pattern>/employeeAjax</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>CandidatePicture</display-name>
    <servlet-name>CandidatePicture</servlet-name>
    <servlet-class>com.edu.hre.common.writefiles.CandidatePicture</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>CandidatePicture</servlet-name>
    <url-pattern>/CandidatePicture</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>CandidateCV</display-name>
    <servlet-name>CandidateCV</servlet-name>
    <servlet-class>com.edu.hre.common.writefiles.CandidateCV</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>CandidateCV</servlet-name>
    <url-pattern>/CandidateCV</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>VacancyAttachment</display-name>
    <servlet-name>VacancyAttachment</servlet-name>
    <servlet-class>com.edu.hre.common.writefiles.VacancyAttachment</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>VacancyAttachment</servlet-name>
    <url-pattern>/VacancyAttachment</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>EmployeeContract</display-name>
    <servlet-name>EmployeeContract</servlet-name>
    <servlet-class>com.edu.hre.common.writefiles.EmployeeContract</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>EmployeeContract</servlet-name>
    <url-pattern>/EmployeeContract</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>InterviewAttachment</display-name>
    <servlet-name>InterviewAttachment</servlet-name>
    <servlet-class>com.edu.hre.common.writefiles.InterviewAttachment</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>InterviewAttachment</servlet-name>
    <url-pattern>/InterviewAttachment</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>EmployeeCV</display-name>
    <servlet-name>EmployeeCV</servlet-name>
    <servlet-class>com.edu.hre.common.writefiles.EmployeeCV</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>EmployeeCV</servlet-name>
    <url-pattern>/EmployeeCV</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>GetNotification</display-name>
    <servlet-name>GetNotification</servlet-name>
    <servlet-class>com.edu.hre.common.ajax.GetNotification</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>GetNotification</servlet-name>
    <url-pattern>/GetNotification</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>EmployeeListDownload</display-name>
    <servlet-name>EmployeeListDownload</servlet-name>
    <servlet-class>com.edu.hre.common.writefiles.EmployeeListDownload</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>EmployeeListDownload</servlet-name>
    <url-pattern>/EmployeeListDownload</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>CallTaskServlet</display-name>
    <servlet-name>CallTaskServlet</servlet-name>
    <servlet-class>com.edu.hre.common.crontab.CallTaskServlet</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>CallTaskServlet</servlet-name>
    <url-pattern>/CallTaskServlet</url-pattern>
  </servlet-mapping>
  <servlet>
    <description></description>
    <display-name>MobileAPI</display-name>
    <servlet-name>MobileAPI</servlet-name>
    <servlet-class>com.edu.hre.common.mobile.MobileAPI</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>MobileAPI</servlet-name>
    <url-pattern>/MobileAPI</url-pattern>
  </servlet-mapping>
</web-app>